@import "basic";
@import "color";
@import "cursor";

.videoPop {
  width: 400px;
  height: 276px;
  .abs;
  right: 30px;
  top: 80px;
  overflow: hidden;
  transition: all ease-in-out 0.2s;
  border: 1px solid @color-grey80;
  background-color: black;
  //box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  > .title {
    height: 50px;
    font-size: 16px;
    padding: 10px 20px;
    line-height: 30px;
    background-color: @color-grey95;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  > .fs {
    .abs;
    right: 56px;
    top: 17px;
    width: 16px;
    height: 16px;
    background-image: url("../img/icon/icon_16_fullScreen.png");
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
  }
  > .close {
    .abs;
    right: 20px;
    top: 17px;
    width: 16px;
    height: 16px;
    background-image: url("../img/icon/icon_popup_close.png");
    background-repeat: no-repeat;
    cursor: pointer;
  }
  &.fullScreen {
    width: 100%;
    height: 100%;
    left: 0 !important;
    right: 0;
    top: 0 !important;
    border: none;
    > .title {
      display: none;
    }
    > .fs {
      width: 32px;
      height: 32px;
      right: 17px;
      background-color: rgba(255, 255, 255, 0.8);
      box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.8);
      border-radius: 50px;
    }
    > .close {
      .hide;
    }
  }
  &.pic {
    height: 300px;
    .pic {
      img {
        width: 100%;
        height: 100%;
      }
    }
  }
}

.video {
  video {
    width: 100%;
    height: 100%;
  }
}

.uavLayer {
  .relocateButton {
    .abs;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(-50%);
    width: 70px;
    height: 70px;
    border-radius: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url("../img/icon/iconLBS_00.png");
    background-repeat: no-repeat;
    background-position: center center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.8);
    cursor: pointer;
  }
}